package com.renbang.model.sys;

import java.util.Date;

/**
 * 
 * @description SysUser用户bean
 * @author chen
 * @date 2017-3-14
 */
public class SysUser {
	private Integer userId;// id
	private String userAccount;// 账号
	private String userPass;// md5码
	private String userType;// 用户类型
	private String userStatus;// 用户状态
	private Date regTime;// 注册时间
	private String userName;// 用户名
	private Integer PowerId;// 权限id
	/**额外属性权限**/
	private SysPower Power;
	public SysPower getPower() {
		return Power;
	}

	public void setPower(SysPower power) {
		Power = power;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserPass() {
		return userPass;
	}

	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getUserStatus() {
		return userStatus;
	}

	public void setUserStatus(String userStatus) {
		this.userStatus = userStatus;
	}

	public Date getRegTime() {
		return regTime;
	}

	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Integer getPowerId() {
		return PowerId;
	}

	public void setPowerId(Integer powerId) {
		PowerId = powerId;
	}

	@Override
	public String toString() {
		return "SysUser [userId=" + userId + ", userAccount=" + userAccount
				+ ", userPass=" + userPass + ", userType=" + userType
				+ ", userStatus=" + userStatus + ", RegTime=" + regTime
				+ ", UserName=" + userName + ", PowerId=" + PowerId
				+ ", Power=" + Power + "]";
	}
	
}
